<?php

namespace Biz\pockets\constInterface;

interface SpringHomeDecConfig
{

    const IS_TEST = false;

    const MIN_APP_VERSION = '5.8.1';

    //活动有效期
    const ACTIVITY_TIME_START = '2022-03-21 00:00:00'; //开始时间
    const ACTIVITY_TIME_END = '2022-04-02 00:00:00';  //结束时间
    const ACTIVITY_LAST_DAY = '2022-04-01';  //活动最后一天
    const ACTIVITY_LUCKY_CHARM_PUBLISH_TIME = '2022-04-02 12:00:00'; //锦鲤公布时间

    //许愿商品最大总价值
    const WISH_PRODUCT_MAX_TOTAL_VALUE = 50000.00;

    //许愿商品最大数量
    const WISH_PRODUCT_MAX_COUNT = 10;

    //服务跳转地址
    const WISH_SERVICE_H5_URL = "https://lego.haohaozhu.cn/lego/151.html";

    //服务商品ID
    const SERVICE_PRODUCT_ID = 0;

    //提醒切换时间
    const REMIND_CHANGE_DATE = '2022-03-29 00:00:00';

    //提醒标题
    const ACTIVITY_REMIND_ALERT = '快来参与今日抽奖！';

    //提醒ALert
    const ACTIVITY_REMIND_TITLES = [
        '你的心愿好礼已放入奖池，等你领走～',  //3.21-3.28
        '心愿清单，厚米买单。快来抓住最后机会，实现心愿～', //3.29-4.1
    ];

    //通知跳转链接
    const REMIND_LINK_URL = '/brand/home-decoration-festival/start';

    //推送场景
    const USER_GROUP_UNLOTTERY = 1;  //2022-03-23 未抽奖用户
    const USER_GROUP_UNJION = 2;  //2022-03-24 至今未参与活动
    const USER_GROUP_UNLOTTERY_TWO = 3;  //2022-03-26 未抽奖用户
    const USER_GROUP_LUCKY_TICKET = 4;  //2022-03-29 锦鲤券用户

    //推送日期
    const PUSH_DATE_MAP = [
        '2022-03-23' => self::USER_GROUP_UNLOTTERY,
        '2022-03-24' => self::USER_GROUP_UNJION,
        '2022-03-26' => self::USER_GROUP_UNLOTTERY_TWO,
        '2022-03-29' => self::USER_GROUP_LUCKY_TICKET,
    ];

    //推送消息设置
    const PUSH_MSG = [
        self::USER_GROUP_UNLOTTERY => [
            'title'=>'快来抽奖！',
            'alert'=>'奖池中丰富商品待领取～',
        ],
        self::USER_GROUP_UNJION => [
            'title'=>'一份心愿清单待领取',
            'alert'=>'快来许下心愿，厚米帮你买单实现！抓紧入场》',
        ],
        self::USER_GROUP_UNLOTTERY_TWO => [
            'title'=>'抽奖正在进行',
            'alert'=>'你的心愿好礼待抽取。快来抽奖！',
        ],
        self::USER_GROUP_LUCKY_TICKET => [
            'title'=>'赢万元好礼！',
            'alert'=>'快来得更多锦鲤券，飙升中奖几率！',
        ],
    ];


}